package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺工序对象 pro_craft_process
 * 
 * @author ruoyi
 * @date 2024-05-30
 */
public class ProCraftProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 工艺id */
    @Excel(name = "工艺id")
    private Long cftId;

    public ProProcess getProcess() {
        return proProcess;
    }

    /** 工序表的成员 */
    private ProProcess proProcess;

    /** 工序id */
    @Excel(name = "工序id")
    private Long processId;

    public ProProcess getProProcess() {
        return proProcess;
    }

    public void setProProcess(ProProcess proProcess) {
        this.proProcess = proProcess;
    }

    public String getPcsName() {
        return pcsName;
    }

    public void setPcsName(String pcsName) {
        this.pcsName = pcsName;
    }

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String pcsName;

    public Long getMatId() {
        return matId;
    }

    public void setMatId(Long matId) {
        this.matId = matId;
    }

    /** 物料id */
    @Excel(name = "物料id")
    private Long matId;

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }

    @Excel(name = "物料名称")
    private String matName;

    /** 工序顺序 */
    @Excel(name = "工序顺序")
    private Long processSeq;

    /** 设备id */
    private Long equipmentId;

    /** 设备名称 */
    private String eptName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCftId(Long cftId) 
    {
        this.cftId = cftId;
    }

    public Long getCftId() 
    {
        return cftId;
    }
    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }
    public void setProcessSeq(Long processSeq) 
    {
        this.processSeq = processSeq;
    }

    public Long getProcessSeq() 
    {
        return processSeq;
    }

    public Long getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getEptName() {
        return eptName;
    }

    public void setEptName(String eptName) {
        this.eptName = eptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cftId", getCftId())
            .append("processId", getProcessId())
            .append("processSeq", getProcessSeq())
                .append("pcsName",getPcsName())
                .append("matId",getMatId())
            .toString();
    }
}
